package com.me.jingdongshop.ui.holder;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.me.common.ui.BaseAdapterLV;
import com.me.common.ui.BaseHolderLV;
import com.me.jingdongshop.R;

/**
 * Created by Administrator on 2017/5/9.
 */

public class MyHelpDetailHolder extends BaseHolderLV<String> {


    private TextView mItemName;

    public MyHelpDetailHolder(Context context, ViewGroup parent, BaseAdapterLV<String> adapter, int position,  String bean) {
        super(context, parent, adapter, position, bean);
    }

    @Override
    public View onCreateView(Context context, ViewGroup parent) {
        View inflate = View.inflate(context, R.layout.my_help_detail_item, null);
        mItemName = (TextView) inflate.findViewById(R.id.tv_name);
        return inflate;
    }

    @Override
    protected void onRefreshView(String name, int position) {

        mItemName.setText(name);


    }

}

